package com.gis.entity;

import java.sql.Timestamp;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("monitor_dir_table")
public class MonitorDirectory {

    @TableId(type = IdType.AUTO)
    private Long id; // 自增ID

    @TableField("dir_name")
    private String dirName; // 目录路径

    private String description; // 目录描述

    @TableField("is_active")
    private Boolean isActive = Boolean.FALSE; // 是否启用

    @TableField(fill = FieldFill.INSERT, value = "insert_time")
    private LocalDateTime insertTime; // 创建时间

    @TableField(fill = FieldFill.INSERT_UPDATE, value = "updated_time")
    private LocalDateTime updatedTime; // 更新时间
    
}
